package com.atguigu.gmall.realtime.bean;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;

/**
 * 订单详情实体类
 *
 * @author lvbingbing
 * @date 2022-03-27 20:06
 */
@Getter
@Setter
@ToString
public class OrderDetail {

    /**
     * 主键
     */
    private Long id;

    /**
     * 订单id
     */
    private Long order_id;

    /**
     * 商品id
     */
    private Long sku_id;

    /**
     * 购买价格(下单时sku价格）
     */
    private BigDecimal order_price;

    /**
     * 购买数量
     */
    private Long sku_num;

    /**
     * sku名称（冗余)
     */
    private String sku_name;

    /**
     * 创建时间
     */
    private String create_time;

    private BigDecimal split_total_amount;

    private BigDecimal split_activity_amount;

    private BigDecimal split_coupon_amount;

    /**
     * 创建时间(时间戳)
     */
    private Long create_ts;
}